<template>
    <div class="layout-default">
        <header>
            <h3>My App default111</h3>
            <nav>
                <router-link to="/home">主页</router-link> |
                <router-link to="/about">关于</router-link> |
                <router-link to="/myChild">myChild</router-link> |
                <router-link to="/myChild/mycp">mycp</router-link> |
                <router-link to="/admin">后台</router-link>
            </nav>
        </header>

        <!-- 页面内容将在这里渲染 -->
        <RouterView />
        <footer>
            © 2025 My App
        </footer>
    </div>
</template>

<style scoped>
.layout-default {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
</style>